<?php include_once '../PlantillasUI/_MainLayout.php'; ?>
<?php include_once '../Model/TipoOrdenDao.php'; ?>
<div id="wrapper">
    <div class="row">
        <div class="col-xs-2 col-sm-2 col-md-2"></div>
        <div class="col-xs-8 col-sm-8">
            <?php
                $result = getMenu();
                if(isset($result)){
                    $cant = count($result);
                    for ($i = 0; $i < $cant; $i++) {
                        echo '<div class="col-xs-3 col-sm-2 '.$result[$i]['cssClase'].'">'
                            .'<div class="noti_bubble"><span class="badge">4</span></div>'
                            .'</div>';
                    }
                }
                echo '<div class="col-xs-3 col-sm-2 btn_history"><div class="noti_bubble"><span class="badge">4</span></div></div>';
            ?>
        </div>
        <div class="col-xs-2 col-sm-2 col-md-2"></div>
    </div>
    <br/><br/>
</div>

<script type="text/javascript">
    $('.btn_ordenDeCompra').click(function (event) {
       event.preventDefault();
       window.location = '../Ordenes/OrdenCompra.php';
       //window.open('../Ordenes/OrdenCompra.php','_blank');
    });
</script>
<?php include_once '../PlantillasUI/_footerLayout.php'; ?>